package com.bjfu.gmms.mapper;

import com.bjfu.gmms.model.ResearchDirection;

import java.util.List;

public interface ResearchDirectionMapper {
    // 二级学科查询所有下属的研究方向
    List<ResearchDirection> getResearchDirectionsByDiscipline(String secondaryDisciplineId);

    // 增删改查
    ResearchDirection getResearchDirectionById(String researchId);

    int addResearchDirection(ResearchDirection researchDirection);

    int updateResearchDirection(ResearchDirection researchDirection);

    int deleteResearchDirection(String researchId);
}
